<div>
    <div class="modal-header">
        <h5 class="modal-title">修改密码({{username}})
            <button type="button" class="close" aria-hidden="true" ng-click="cancel()">&times;</button>
        </h5>
    </div>
    <div class="modal-body">
        <div class="form-group">
            <label for="password" class=" control-label" style="font-size: 12pt">旧密码</label>
            <input type="text" class="form-control" id="password" ng-model="password">
        </div>
        <div class="form-group">
            <label for="new_password" class=" control-label" style="font-size: 12pt">新密码</label>
            <input type="text" class="form-control" id="new_password" ng-model="newPassword">
        </div>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" ng-click="resetPassword()">
            修改
        </button>
        <button class="btn btn-warning" ng-click="cancel()">
            取消
        </button>
    </div>
</div>